package com.shangdiao.sd_server.dao.mybatis;

import com.shangdiao.sd_server.generator.pojo.SdDicMajor;
import com.shangdiao.sd_server.generator.pojo.SdDicMajorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SdDicMajorMapper {
    int countByExample(SdDicMajorExample example);

    int deleteByExample(SdDicMajorExample example);

    int deleteByPrimaryKey(Integer dicMajorId);

    int insert(SdDicMajor record);

    int insertSelective(SdDicMajor record);

    List<SdDicMajor> selectByExample(SdDicMajorExample example);

    SdDicMajor selectByPrimaryKey(Integer dicMajorId);

    int updateByExampleSelective(@Param("record") SdDicMajor record, @Param("example") SdDicMajorExample example);

    int updateByExample(@Param("record") SdDicMajor record, @Param("example") SdDicMajorExample example);

    int updateByPrimaryKeySelective(SdDicMajor record);

    int updateByPrimaryKey(SdDicMajor record);
}